<html>
<head>
<title>Propriedade CurrentChild</title>
<link rel="stylesheet" href="HiperTools.css" type="text/css">
<style type="text/css">
 p { margin-top: 0; margin-bottom: 0; }
</style>
<script language="JavaScript" src="TrueHelp.js"></script>
</head>
<body onload="thload()">
<div id=ienav>
<ilayer id=nsnav>
<br>
<center>
<p class=normal><a href="HiperTools30-toc.htm" target="left">contents</a> &nbsp; <a href="HiperTools30-index.htm" target="left">index</a> &nbsp; <a href="TH_508.htm">previous</a> &nbsp; <a href="TH_510.htm">next</a></p>
</center>
<br>
<hr noshade size=1>
</ilayer>
</div>
<p class=propriedades>Propriedade CurrentChild </p>
<p class=heading-1>Descri&#231;&#227;o</p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>Retorna a posi&#231;&#227;o atual dos n&#237;veis de acordo com o n&#237;vel de identa&#231;&#227;o em que estou na &#225;rvore.</p>
<p class=heading-1>Sintaxe</p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>[<i>Result =</i>]<i> objeto</i>.<b>CurrentChild</b> </p>
<p class=normal>O argumento <i>objeto</i> sempre ser&#225; o objeto TreeView. O valor para <i>Result</i> ser&#225; <b>CurrentChild</b>, o valor de n&#243; atual.</p>
<p class=heading-1>Coment&#225;rios</p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>O c&#243;digo abaixo ilustra o uso da propriedade <b>CurrentChild</b>. </p>
<p class=heading-1>Exemplo</p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>TreeView.BeginTree</p>
<p class=normal>  TreeView.BeginNode "Identa&#231;&#227;o" &amp; TreeView.<b>CurrentField</b>, _ </p>
<p class=normal>                     "ScriptAction.asp?Action=0"</p>
<p class=normal>Retorna: 0</p>
<p class=normal>    TreeView.BeginNode "Identa&#231;&#227;o" &amp; TreeView.<b>CurrentField</b>, _ </p>
<p class=normal>                       "ScriptAction.asp?Action=1"</p>
<p class=normal>Retorna: 1</p>
<p class=normal>      TreeView.BeginNode "Identa&#231;&#227;o" &amp; TreeView.<b>CurrentField</b>, _</p>
<p class=normal>                         "ScriptAction.asp?Action=2"</p>
<p class=normal>Retorna: 2</p>
<p class=normal>      TreeView.EndNode</p>
<p class=normal>    TreeView.EndNode</p>
<p class=normal>  TreeView.EndNode </p>
<p class=normal>TreeView.EndTree</p>
<p class=normal>&nbsp;</p>
<p class=heading-1>Aplica-se </p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>TreeView.</p>
<p class=heading-1>Veja tamb&#233;m</p>
<p class=heading-1-p>&nbsp;</p>
<p class=normal>&nbsp;</p>
<hr noshade size=1>
<p class=normal><a href="TH_510.htm"><img src="button.png" border=0></a><a href="TH_510.htm" style="text-decoration:none;">Propriedade SetLevelID</a></p>
<p>
</body>
</html>